
#include <STC12C5A60S2.H>
#include <sys.h>
#ifndef __lcd_uc1609_H
#define __lcd_uc1609_H


#define uchar unsigned char
#define uint  unsigned int

sbit SCK = P1^7;
sbit SDAK = P1^6;
sbit RST = P1^5;
sbit CD  = P1^4;
sbit CS  = P1^3;

#define somenop() _nop_();_nop_();_nop_();_nop_();



void WriteData(uchar data1, bit di);  //写数据
void lcd_uc1609_init(void);  //初始化
void ClearAll(bit WB);
void Displine(uchar array[]);
void lcd_address(uint page,uint column);
//显示8x16 点阵图像、汉字、生僻字或8x16 点阵的其他图标
void Disp_8x16(uchar page,uchar column,uchar fb,uchar *dp);

void String_8x16(uchar page,uchar column,uchar fb,uchar *dp);
//显示16x16 点阵图像、汉字、生僻字或16x16 点阵的其他图标
void Disp_16x16(uchar page,uchar column,uchar fb,uchar *dp);
void Disp_16x32(uchar page,uchar column,uchar fb, uchar *dp);



// void Char_16(uchar *array,uchar CL,uchar LN,uint i);


#endif  
